<?php
  /**
   * Admin.php
   * Model identifying users with administrator privileges
   */
class Admin extends AppModel
{
	var $name = 'Admin';
    var $primaryKey = 'admin_id';
    //validation rules
    var $validate = array(
	'admin_id'=> array(
		'rule'=>'numeric',
		'required'=>true
	),
	'admin_name'=> array(
		'rule'=>'alphaNumeric',
		'required'=>true
	)
    );

    
}
?>
